<script>
/*
 * @Author: wzh 
 * @Date: 2020-12-18 00:51:04 
 * @Last Modified by: 1521620993@qq.com
 * @Last Modified time: 2020-12-18 01:07:49
 */
</script>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>04-元素的可替换性</title>
</head>
<body>
  <style>
    img{
      width: 100px;
      height: 100px;
      padding: 10px;
      border: 10px dashed blue;
      background-color: red;
      background-clip: content-box;
    }
    input{
      width: 100px;
      height: 100px;
    }
  </style>
  <img src="01.jpg" alt=""><span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Veritatis rerum dolores accusantium illo unde possimus mollitia aperiam quisquam itaque rem, perspiciatis dolor. Molestiae nemo in odio consectetur officia deserunt soluta.</span>
  <input type="text">
</body>
</html>